<?php
// +----------------------------------------------------------------------
// | Copyright (c) 2012 HongPing All rights reserved.
// +----------------------------------------------------------------------
// | ActionName:业务笔记
// +----------------------------------------------------------------------
// | Author: HongPing <hongping626@qq.com>
// +----------------------------------------------------------------------
class BisnotesAction extends CommonAction {
	function _filter(&$map){
        //$map['id'] = array('egt',2);
		$map['visitor|biscontent'] = array('like',"%".$_POST['selectname']."%");
	}
    
    
    function viewNote(){
        $nid = $_REQUEST['id'];
        $map['id'] = $nid;
        $nM = M('Bisnotes');
        $list  = $nM->where($map)->find();
        $this->assign('vo',$list);
        $this->display();
    }
    
    function checkNote(){
        $nid = $_REQUEST['id'];
        $map['id'] = $nid;
        $nM = M('Bisnotes');
        $list  = $nM->where($map)->find();
        $this->assign('vo',$list);
        $this->display(); 
    }  
 
}
?>